﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace BRMC.IntelligentCommunity.Migrations
{
    public partial class add_other_base7 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_install_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_install_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_pict",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_product",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_install_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_flow",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_agent_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_staff_work_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_service_time_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_repairs_time_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_price_package",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_by_agenter_info",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_buy_time_log",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_user_dep_role",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_user",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_rule",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_role_rule",
            //    nullable: true,
            //    oldClrType: typeof(int));

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_role",
            //    nullable: true,
            //    oldClrType: typeof(int));
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_install_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_install_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_pict",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_product",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_install_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_flow",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_agent_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_staff_work_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_service_time_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_repairs_time_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_price_package",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_by_agenter_info",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_buy_time_log",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_user_dep_role",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_user",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_rule",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_role_rule",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);

            //migrationBuilder.AlterColumn<int>(
            //    name: "TenantId",
            //    table: "App_role",
            //    nullable: false,
            //    oldClrType: typeof(int),
            //    oldNullable: true);
        }
    }
}
